package gy.rpc.api.dto.servicedto;

import java.io.Serializable;

/**
 * @author G_Y
 * @date 2018年4月22日
 * @说明:示例:service调用 结果数据类型 
 */
public class UserDTO implements Serializable {

	/**
	 * 可序列化
	 */
	private static final long serialVersionUID = -8303103287212934426L;

	private Integer userId;
	
	private String userName;
	
	private String userPhone;

	public String getUserPhone() {
		return userPhone;
	}

	public UserDTO setUserPhone(String userPhone) {
		this.userPhone = userPhone;
		return this;
	}

	/**
	 * @return the userId
	 */
	public Integer getUserId() {
		return userId;
	}

	/**
	 * @param userId the userId to set
	 */
	public UserDTO setUserId(Integer userId) {
		this.userId = userId;
		return this;
	}

	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}

	/**
	 * @param userName the userName to set
	 */
	public UserDTO setUserName(String userName) {
		this.userName = userName;
		return this;
	}

	@Override
	public String toString() {
		return "[userId:"+this.userId+",userName:"+this.userName+",userPhone:"+this.userPhone+"]";
	}
	
}
